﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Scheduling.Models.Interfaces
{
    public interface IBookingRequestLoader
    {
        /// <summary>
        /// Retreive all booking requests from database.
        /// </summary>
        /// <returns>List of booking requests.</returns>
        List<BookingRequest> GetBookingRequests();

        /// <summary>
        /// Retreive booking request with specified ID.
        /// </summary>
        /// <returns>BookingRequest with ID = id.</returns>
        BookingRequest GetBookingRequest(int id);

        /// <summary>
        /// Retreive booking request with specified ID.
        /// </summary>
        /// <returns>BookingRequest with ID = id.</returns>
        List<BookingRequest> GetBookingRequestsByUserId(string userID);

        /// <summary>
        /// Inserts a booking request into the database.
        /// </summary>
        /// <param name="request">The booking request to insert.</param>
        void InsertBookingRequest(BookingRequest request);

        /// <summary>
        /// Delete a booking request from the database.
        /// </summary>
        /// <param name="request">The booking request to insert.</param>
        void DeleteRequest(int ID);
       


    }
}